home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / mipsABI / examples / sup / PORT / step03 / supfilesrv.c.diff < prev    next >
Encoding:
Text File  |  1994-08-02  |  767 b   |  21 lines

  1. *** ../dist/supfilesrv.c    Thu Dec 16 07:29:56 1993
  2. --- supfilesrv.c    Thu Dec 16 13:36:45 1993
  3. ***************
  4. *** 1140,1147 ****
  5.       if ((t->Tmode&S_IFMT) == S_IFDIR) /* send no directories this pass */
  6.           return (SCMOK);
  7.       x = msgsend ();
  8. !     if (x != SCMOK)  goaway ("Error reading receive file request from clien
  9. ! t");
  10.       upgradeT = t;            /* upgrade file pointer */
  11.       fd = -1;            /* no open file */
  12.       if ((t->Tmode&S_IFMT) == S_IFREG) {
  13. --- 1140,1146 ----
  14.       if ((t->Tmode&S_IFMT) == S_IFDIR) /* send no directories this pass */
  15.           return (SCMOK);
  16.       x = msgsend ();
  17. !     if (x != SCMOK)  goaway ("Error reading receive file request from client");
  18.       upgradeT = t;            /* upgrade file pointer */
  19.       fd = -1;            /* no open file */
  20.       if ((t->Tmode&S_IFMT) == S_IFREG) {
  21.